package top.jsjkxyjs.blackbox.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Event {
	@TableId(type = IdType.AUTO)
	private int id;
	private int carId;
	private int devId;
	private String type;
	private int customerService;
	private int end;

	public Event(int carId, int devId, String type) {
		this.carId = carId;
		this.devId = devId;
		this.type = type;
	}
}
